﻿<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="LinksModule.ascx.cs"
    Inherits="ud_Links.UI.LinksModule" %>
<script type="text/javascript">
    function GoToLink(link, source) {
        if (link == '') {
            return;
        }
        else {
            var linkwindow = window.open(link);
            linkwindow.focus();
            $('source').children().first().attr('selected','true');
        }
    }
</script>
<portal:ModulePanel ID="pnlContainer" runat="server">
<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop ID="ctop1" runat="server" />
    <asp:Panel ID="pnlWrapper" runat="server" CssClass="art-Post-inner panelwrapper Links">
        <portal:ModuleTitleControlCustom EditText="Edit" EditUrl="~/Links/Admin/AdminLinkEdit.aspx"
            runat="server" ID="TitleControl" UseLowerCaseArtisteerClasses="true" RenderArtisteer="true" />
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
            <div class="modulecontent">
                <asp:DropDownList ID="ddlX" runat="server" class="links-list" onChange="GoToLink(this.value, this);">
                </asp:DropDownList>
            </div>
        </portal:mojoPanel>
        <div class="cleared">
        </div>
    </asp:Panel>
    <mp:CornerRounderBottom ID="cbottom1" runat="server" />
</portal:mojoPanel>
</portal:ModulePanel>